package com.xiyu.service.service.market;

import com.xiyu.service.vo.market.marketTask.MarketTaskSingleGetOutput;
import com.xiyu.service.vo.market.marketTask.MarketTaskUpdateInput;
import com.xiyu.service.vo.market.marketTask.MarketTaskCreateInput;
import com.xiyu.service.vo.market.marketTask.MarketTaskPageQueryOutput;
import com.xiyu.service.vo.market.marketTask.MarketTaskPageQueryInput;
import com.xiyu.service.framework.web.web.core.pojo.PageResult;

/**
 * 邮件营销 Service 接口
 */
public interface MarketTaskService {

    PageResult<MarketTaskPageQueryOutput> pageQuery(MarketTaskPageQueryInput inputVO);

    Long create(MarketTaskCreateInput inputVO);

    Boolean update(MarketTaskUpdateInput inputVO);

    MarketTaskSingleGetOutput singleGet(Long id);

    Boolean deleted(Long id);

    Boolean cancel(Long id);

    void taskJobExec();


}
